/*
 * Message template for private chat.
 */
package ws.websk.chatEndpoint2.messages;

/**
 *
 * @author Jens-Marius Nergård Hansen
 */
public class PrivateMessage extends Message{
    private String sender;          // The senders username
    private String receiver;        // The reveivers username
    private String message;         // The message

    public PrivateMessage(String sender, String receiver, String message) {
        super("private");
        this.sender     = sender;
        this.receiver   = receiver;
        this.message    = message;
    }
  
    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReveiver(String receiver) {
        this.receiver = receiver;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
